﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JTZY.Model.Order.Dto
{
    public class OrderToAfterSalesDto
    {
        public decimal refundMoney { get; set; } = 0;

        public Dictionary<int, reshipGoods> reshipGoods { get; set; } = null;

        public List<Corecmsbillaftersales> billAftersales { get; set; } = new();

        public List<Billaftersaledetail> afterSaleDetails { get; set; } = new();
    }

    /// <summary>
    /// </summary>
    public class reshipGoods
    {
        /// <summary>
        ///     售后商品数量，包含申请中和审核通过的
        /// </summary>
        public int reshipNums { get; set; } = 0;

        /// <summary>
        ///     已发货的商品进行退货的数量
        /// </summary>
        public int reshipedNums { get; set; } = 0;
    }

    /// <summary>
    ///     根据订单号查询已经售后的内容.算退货商品明细
    /// </summary>
    public class QMAfterSalesItems
    {
        public int orderItemsId { get; set; }
        public int nums { get; set; }
        public int status { get; set; }
        public int type { get; set; }
    }
}
